<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div class="inner">

    </div>
    <script>
        var arr = [];
        var inner = document.querySelector('.inner')
         for(var i=0;i<100;i++){
             arr.push('<a href="#">1</a>')
         }
        inner.innerHTML = arr.join('');
        // 数组方式的innerHTML比creELEment 这个快
    </script>
</body>
</html>